package org.blankie.model;

import java.io.Serializable;
import java.util.Collection;

public interface DriverOperations<P extends BlkPath, O extends BlkResource<P>, N extends BlkResource<P>, L extends BlkResource<P>> extends Serializable {

    void loadLeaves(N node, Collection<P> into);

    void loadNodes(N node, Collection<P> into);

    P findParent(P path);

    P findOrganization(P path);
    
    P findRoot(P path);

    boolean testLeaves(N node);

    boolean testNodes(N node);

    boolean testRoot(N resource);

}
